Dynomotion

Group: DynoMotion Message: 11049 From: Colin Fera Date: 2/8/2015
Subject: CW/CCW vs quadrature
Hi,

Is the kflop quadrature output the same as CW/CCW?


Most of the lead shine drives and their clones seem to have a jumper that can select for step/dir or cw/ccw.

Would this be a way to use the lead shine drives without violating the 5us Direction Setup Time?

Thanks, 
Colin
Group: DynoMotion Message: 11050 From: Tom Kerekes Date: 2/8/2015
Subject: Re: CW/CCW vs quadrature
Hi Colin,

No I believe CW/CCW is separate pulses for each direction, where quadrature is two signals 90 degrees out of phase.

Step/Dir can be converted to CW/CCW steps with 2 "and" gates and an inverter.

Regards
TK

Group: DynoMotion Message: 11051 From: Colin Fera Date: 2/8/2015
Subject: Re: CW/CCW vs quadrature
Hi Tom,

I was searching for something unrelated and I came across this post (#2 down from the top):


Is this approach inadvisable?

Thanks,
-Colin



On Sun, Feb 8, 2015 at 11:00 PM, Tom Kerekes tk@... [DynoMotion] <DynoMotion@yahoogroups.com> wrote:
 

Hi Colin,

No I believe CW/CCW is separate pulses for each direction, where quadrature is two signals 90 degrees out of phase.

Step/Dir can be converted to CW/CCW steps with 2 "and" gates and an inverter.

Regards
TK

Group: DynoMotion Message: 11052 From: Tom Kerekes Date: 2/9/2015
Subject: Re: CW/CCW vs quadrature
Hi Colin,

I can't see how that could be correct or would work.  From the description from Leadshine below it seems clear they are expecting CW pulses and CCW pulses not Quadrature.

 
Regards
TK


Group: DynoMotion Message: 11083 From: Colin Fera Date: 2/14/2015
Subject: Re: CW/CCW vs quadrature
Hi Tom,

Would CW/CCW be a feature that would be easy to add?

 If it were included then you could support the majority of leadshine drives without the caveat of a possible lost step on direction changes.

Thanks,
Colin

Sent from my iPhone

On Feb 8, 2015, at 23:00, "Tom Kerekes tk@... [DynoMotion]" <DynoMotion@yahoogroups.com> wrote:

 

Hi Colin,

No I believe CW/CCW is separate pulses for each direction, where quadrature is two signals 90 degrees out of phase.

Step/Dir can be converted to CW/CCW steps with 2 "and" gates and an inverter.

Regards
TK

Group: DynoMotion Message: 11144 From: Colin Fera Date: 3/1/2015
Subject: Re: CW/CCW vs quadrature
Hi Tom,

Would this work to convert STEP/DIR to CW/CCW: https://www.fairchildsemi.com/datasheets/74/74VHC139.pdf

I supposed I would tie A0 to direction, and A1 to step.  Then connect O2 and O3 to CW/CCW by connecting them to the opto isolator cathodes with the anode tied to ground. I would take these from JP4 and JP6 as LVTTL.



Thanks,
Colin



On Sun, Feb 8, 2015 at 11:00 PM, Tom Kerekes tk@... [DynoMotion] <DynoMotion@yahoogroups.com> wrote:
 

Hi Colin,

No I believe CW/CCW is separate pulses for each direction, where quadrature is two signals 90 degrees out of phase.

Step/Dir can be converted to CW/CCW steps with 2 "and" gates and an inverter.

Regards
TK

Group: DynoMotion Message: 11146 From: Tom Kerekes Date: 3/2/2015
Subject: Re: CW/CCW vs quadrature
Hi Colin,

I think that logic is correct but not the voltage levels.  The VHC series logic requires 0.7xVcc = 0.7x5V = 3.5V for a guaranteed high input.  KFLOP's 3.3V LVTTL outputs only guarantee 2.8V.  I believe the 74S139 would work.  They are standard 5V TTL that requires a 2V High input level and will drive up to 20ma (I think the Leadshine inputs require about 13ma based on the 270 ohm series resistance they show).   See:



Also I think the Opto Anode (+ side of opto LED) would need to be connected to +5V not ground.

Regards
TK